package com.neusoft.taotao.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neusoft.taotao.bean.TaoException;
import com.neusoft.taotao.bean.UserMessage;
import com.neusoft.taotao.mapper.UserMessageMapper;
import com.neusoft.taotao.service.UserMessageService;

@Service
public class UserMessageServiceImpl extends AbstractServiceImpl<UserMessage> implements UserMessageService {

	@Autowired
	UserMessageMapper userMessageMapper;
	
	@Override
	public UserMessage login(UserMessage userMessage) throws TaoException {
		return userMessageMapper.login(userMessage);
	}

}